<?php
Route::controller('member::register');
//Route::controller('member::post' --);
Route::get('member', 'Member::Home@index');

Route::get('member/profile', 'Member::Home@profile');
//Route::controller('member::profile');

//--Post New --//
Route::get('member/post/add/(:num)', 'Member::Post@add');
Route::post('member/post/add/(:num)', 'Member::Post@add');

//Route::get('member/post/delete/(:any)','Member::Post@delete');
//--Post Edit --//
Route::get('member/post/edit/(:num)/(:num)', 'Member::Post_Edit@edit');
Route::post('member/post/edit/(:num)/(:num)', 'Member::Post_Edit@edit');

Route::get('member/post/photo/(:num)','Member::Post@photo');
Route::post('member/post/photo/(:num)','Member::Post@photo');

Route::get('member/post/video/(:num)','Member::Post@video');
Route::post('member/post/video/(:num)','Member::Post@video');

Route::get('member/post/delete/(:num)','Member::Post@delete');

//--MEMBER REGISTER --//

Route::get('member/register', 'Member::Register@index');

Route::get('member/register/activationcode/(:any)','Member::Register@activationcode');

//--MEMBER PROFILE --//
Route::get('member/profile', 'Member::profile@index');
Route::post('member/profile', 'Member::profile@index');

//--MESSAGE --//
Route::get('member/message', 'Comments::Message@index');
Route::get('member/message/delete/(:num)', 'Comments::Message@delete');
